package com.ebelter.btlibrary.btble.impl.ict.model;

/**
 * 测量结果，血压的模型
 * Created by Sergio Pan on 2017/11/22.
 */

public class IctResult {


    /***测试时间，int类型，用于排序***/
    private long measureTime;
    /***测试时间，String，用于显示***/
    private String measureTimeStr;
    /***收缩压***/
    private int systolicPressure;
    /***舒张压***/
    private int diastolicPressure;
    /***脉搏***/
    private int pulse;
    /***结果类型***/

    public int getDiastolicPressure() {
        return diastolicPressure;
    }

    public void setDiastolicPressure(int diastolicPressure) {
        this.diastolicPressure = diastolicPressure;
    }

    public int getSystolicPressure() {
        return systolicPressure;
    }

    public void setSystolicPressure(int systolicPressure) {
        this.systolicPressure = systolicPressure;
    }

    public int getPulse() {
        return pulse;
    }

    public void setPulse(int pulse) {
        this.pulse = pulse;
    }

    public long getMeasureTime() {
        return measureTime;
    }

    public void setMeasureTime(long measureTime) {
        this.measureTime = measureTime;
    }

    public String getMeasureTimeStr() {
        return measureTimeStr;
    }

    public void setMeasureTimeStr(String measureTimeStr) {
        this.measureTimeStr = measureTimeStr;
    }

    @Override
    public String toString() {
        return "IctResult{" +
                "measureTime=" + measureTimeStr +
                ", systolicPressure=" + systolicPressure +
                ", diastolicPressure=" + diastolicPressure +
                ", pulse=" + pulse +
                '}';
    }
}
